<template>
  <div id="app">
    <div class="body">
    <NavBar/>
      <div style="margin-top: 50px">
      <!-- <div class="blue-rectangle"> -->
      <!-- <nav>
        <router-link to="/">收入</router-link> |
        <router-link to="/about">支出</router-link>
      </nav> -->
      <router-view/>
      </div>
    </div>
  </div>
</template>

<script>
import NavBar from './components/NavBar.vue'
export default {
  components: {NavBar}

}

</script>

<style lang="less">
// .blue-rectangle {
  //background-color: rgb(0, 80, 179);
  //height: 70px;
  // height: 200px;
  //width: 100%;
  // width:375px;
  // overflow-x:hidden;
  // left: 0;
// }
html {
  font-size: 0.2666667vw;
}
.body{
  //min-height: 667px;
  // height: 200px; 
  width: 100%;
  // width:375px;
  overflow-x:hidden;
}

#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  

}

nav {
  padding: 30px;

  a {
    font-weight: bold;
    color: #2c3e50;

    &.router-link-exact-active {
      // color: #42b983;
      color:white;
    }
  }
}

</style>

